#automake 
sbin_PROGRAMS = himasterd hindexd hidocd 
himasterd_SOURCES = himasterd.c http.c http.h iniparser.c iniparser.h base64masterdhtml.h \
	mmdb.h mmdb.c utils/mmtrie.h utils/mmtrie.c utils/qsmap.h utils/qsmap.c utils/db.c \
	utils/logger.h utils/mutex.h utils/timer.h utils/trie.h utils/trie.c utils/db.h \
	utils/stime.h utils/stime.c utils/base64.h utils/base64.c utils/iqueue.h utils/iqueue.c
himasterd_CPPFLAGS = -I utils/ -D_FILE_OFFSET_BITS=64 -Wall
himasterd_LDFLAGS = -lz -lsbase

hindexd_SOURCES = hindexd.c http.c http.h iniparser.c iniparser.h base64indexdhtml.h \
	utils/logger.h utils/mutex.h utils/timer.h utils/trie.h utils/trie.c \
	utils/stime.h utils/stime.c utils/base64.h utils/base64.c
hindexd_CPPFLAGS = -I utils/ -D_FILE_OFFSET_BITS=64 -Wall
hindexd_LDFLAGS = -lz -lsbase -libase

hidocd_SOURCES = hidocd.c http.c http.h iniparser.c iniparser.h utils/trie.h \
utils/logger.h utils/mutex.h utils/timer.h html/charcode.h html/html.c html/html.h \
html/htmltags.h hidoc.h hidoc.c utils/zvbcode.c utils/zvbcode.h utils/trie.c   utils/trie.h \
utils/kvmap.h utils/kvmap.c utils/iqueue.h utils/iqueue.c utils/stime.h utils/stime.c \
utils/base64.h utils/base64.c  base64docdhtml.h utils/mmtrie.h utils/mmtrie.c \
utils/mmtree.h utils/mmtree.c utils/db.h utils/db.c

hidocd_CPPFLAGS = -I utils -I html -D_FILE_OFFSET_BITS=64 -Wall
hidocd_LDFLAGS  = -lz -lsbase
